package com.sunny.netty.constants;

/**
 * @author sunny
 * @date 2018/12/6
 */
public interface EchoConstants {
    /** 特殊分隔符号，DelimiterBasedFrameDecoder使用 */
    String SEPARATOR = "$_";

    Integer ECHO_DELIMITER_PORT = 4040;

    Integer ECHO_LENGTH_PORT = 5050;

    String HOST = "127.0.0.1";

    /** 固定消息长度，FixedLengthFrameDecoder使用 */
    Integer FRAME_LENGTH = 10;
}
